import {createRouter, createWebHistory} from 'vue-router'
import App from "../App.vue";
import index from "../components/index.vue"

const router = createRouter({
    history: createWebHistory(),
    routes: [{
        path: "/", name: "home", component: App
    }, {
        path: "/index", name: "index", component: index
    },]
})

export default router